exports.install = function(Vue) {
  Vue.config.globalProperties.is_string = function(hrefObj, that) {
    var childrenHref = that.$store.state.menus.childrenHref;
    var arr = {};
    for (var k in hrefObj) {
      for (var i = 0; i < childrenHref.length; i++) {
        if (hrefObj[k] === childrenHref[i].href) {
          arr[k] = false;
          break;
        } else {
          arr[k] = true;
        }
      }
    }
    return arr;
  };
};
